package com.team.runsfast.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("t_coupon")
@NoArgsConstructor
public class Coupon {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**优惠券数量*/
    private Integer num;
    /**满足限制金额*/
    private double stintmoney;
    /**优惠金额*/
    private double discountprice;
    /**优惠券的有效天数*/
    private Integer days;
    /**优惠券信息*/
    private String info;
}
